

package com.hazelcast.spi.impl.merge;

import com.hazelcast.cardinality.impl.hyperloglog.HyperLogLog;
import com.hazelcast.internal.serialization.SerializationService;
import com.hazelcast.spi.merge.SplitBrainMergeTypes.CardinalityEstimatorMergeTypes;

/**
 * Implementation of {@link CardinalityEstimatorMergeTypes}.
 *
 * @since 3.10
 */
@SuppressWarnings("WeakerAccess")
public class CardinalityEstimatorMergingEntry extends AbstractMergingEntryImpl<String, HyperLogLog, CardinalityEstimatorMergingEntry> implements CardinalityEstimatorMergeTypes {

    public CardinalityEstimatorMergingEntry() {
    }

    public CardinalityEstimatorMergingEntry(SerializationService serializationService) {
        super(serializationService);
    }

    @Override
    public int getClassId() {
        return SplitBrainDataSerializerHook.CARDINALITY_ESTIMATOR_MERGING_ENTRY;
    }
}
